#-------------------------------------------------
#
# Project created by QtCreator 2025-07-21T16:52:52
#
#-------------------------------------------------

QT       += sql

QT       -= gui

TARGET = LogicEngine
TEMPLATE = lib

DEFINES += LOGICENGINE_LIBRARY

DEFINES += _ELPP_QT_LOGGING    \
          _ELPP_STL_LOGGING   \
          _ELPP_STRICT_ROLLOUT

SOURCES += logicengine.cpp \
    condition.cpp \
    entity.cpp \
    formulaanalyse.cpp \
    rule_102.cpp \
    rule_201.cpp \
    rule_202.cpp \
    rulebase.cpp \
    ruleformula.cpp

HEADERS += logicengine.h\
        LogicEngine_global.h \
        condition.h \
        entity.h \
        formulaanalyse.h \
        rule_102.h \
        rule_201.h \
        rule_202.h \
        rulebase.h \
        ruleformula.h

symbian {
    MMP_RULES += EXPORTUNFROZEN
    TARGET.UID3 = 0xE44CD98D
    TARGET.CAPABILITY = 
    TARGET.EPOCALLOWDLLDATA = 1
    addFiles.sources = LogicEngine.dll
    addFiles.path = !:/sys/bin
    DEPLOYMENT += addFiles
}

unix:!symbian {
    maemo5 {
        target.path = /opt/usr/lib
    } else {
        target.path = /usr/lib
    }
    INSTALLS += target
}

LIBS += -L. -lqjson

include($$PWD/3rdparty/3rdparty.pri)
include($$PWD/TxUtility/TxUtility.pri)
